home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / csacms.z / csacms
Encoding:
Text File  |  2002-10-03  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ccccssssaaaaccccmmmmssss((((1111MMMM))))                                                          ccccssssaaaaccccmmmmssss((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      csacms - summarizes command usage from per-process accounting records
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_aaaa_cccc_cccc_tttt_////_cccc_ssss_aaaa_cccc_mmmm_ssss [_----_aaaa [[_----_pppp] [_----_oooo] [_----_eeee]]] [_----_cccc] [_----_jjjj] [_----_nnnn] [_----_ssss] [_----_SSSS [_----_AAAA]]
  13.      _f_i_l_e_s
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      The _cccc_ssss_aaaa_cccc_mmmm_ssss command reads the pacct file, sorted pacct files, or files
  17.      that are already in internal summary format depending upon the input
  18.      option.  It adds all records for processes that executed identically
  19.      named commands, and it sorts and writes them to the standard output,
  20.      usually using an internal summary format.
  21.  
  22.      _cccc_ssss_aaaa_cccc_mmmm_ssss accepts the following options:
  23.  
  24.      _----_aaaa   Prints output in ASCII rather than in the internal summary format.
  25.           You can use the following options only with the _----_aaaa option:
  26.  
  27.           _----_pppp   Outputs a prime-time-only command summary.
  28.  
  29.           _----_oooo   Outputs a nonprime-time-only (offshift) command summary.
  30.  
  31.           _----_eeee   Outputs an extended report, printing additional fields.
  32.  
  33.           The default output produced with the _----_aaaa option includes command
  34.           name, number of times executed, total kcore-minutes, total
  35.           kvirtual-minutes, total CPU minutes, total real minutes, mean core
  36.           size (in K), mean virtual size (in K), mean CPU minutes per
  37.           invocation, the amount of CPU resources (proportional to other
  38.           processes) used, and k-characters read and written, and blocks read
  39.           and written.  Read and written values are printed separately.  The
  40.           output is sorted by total kcore-minutes, unless you specify a sort
  41.           option.
  42.  
  43.           The high-water usage values for core and virtual memory are
  44.           presented as both a prime-time value and nonprime-time value.
  45.  
  46.           When you specify both _----_pppp and _----_oooo with _----_aaaa, _cccc_ssss_aaaa_cccc_mmmm_ssss produces a
  47.           combination prime or nonprime time report.
  48.  
  49.           The extended report prints the following:  high-water core memory
  50.           usage value, high-water virtual memory usage value, the number of
  51.           read and write system calls (printed separately), system time, block
  52.           I/O wait time, raw I/O wait time, and run queue wait time.
  53.  
  54.      _----_cccc   Sorts by total CPU time rather than total kcore-minutes.
  55.  
  56.      _----_jjjj   Combines all commands invoked only once under ``***other''.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ccccssssaaaaccccmmmmssss((((1111MMMM))))                                                          ccccssssaaaaccccmmmmssss((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      _----_nnnn   Sorts by number of command invocations.
  75.  
  76.      _----_ssss   Indicates that any filenames encountered hereafter are already in
  77.           internal summary format.
  78.  
  79.      _----_SSSS   Indicates that the sorted pacct file format is used on input.
  80.  
  81.      _----_AAAA   Causes all jobs (even nonterminated jobs) to be considered.  You
  82.           must use this option with the _----_SSSS option.
  83.  
  84. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  85.      A typical sequence for performing daily command accounting and for
  86.      maintaining a running total is as follows:
  87.  
  88.           _cccc_ssss_aaaa_cccc_mmmm_ssss _ffff_iiii_llll_eeee _...._...._.... _>>>> _tttt_oooo_dddd_aaaa_yyyy
  89.  
  90.           _cccc_pppp _tttt_oooo_tttt_aaaa_llll _pppp_rrrr_eeee_vvvv_iiii_oooo_uuuu_ssss_tttt_oooo_tttt_aaaa_llll
  91.  
  92.           _cccc_ssss_aaaa_cccc_mmmm_ssss _----_ssss _tttt_oooo_dddd_aaaa_yyyy _pppp_rrrr_eeee_vvvv_iiii_oooo_uuuu_ssss_tttt_oooo_tttt_aaaa_llll _>>>> _tttt_oooo_tttt_aaaa_llll
  93.  
  94.           _cccc_ssss_aaaa_cccc_mmmm_ssss _----_aaaa _----_ssss _tttt_oooo_dddd_aaaa_yyyy
  95.  
  96. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  97.      csa(1M), csacom(1), csarun(1M).
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.